package com.woniu.common.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 成药处方对象 dms_medicine_prescription_record
 * 
 * @author ruoyi
 * @date 2024-10-21
 */
public class DmsMedicinePrescriptionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 处方名称 */
    @Excel(name = "处方名称")
    private String name;

    /** 注册ID */
    @Excel(name = "注册ID")
    private Integer registrationId;

    /** 退药状态 */
    @Excel(name = "退药状态")
    private Integer refundStatus;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 创建员工ID */
    @Excel(name = "创建员工ID")
    private Integer createStaffId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRegistrationId(Integer registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Integer getRegistrationId() 
    {
        return registrationId;
    }
    public void setRefundStatus(Integer refundStatus) 
    {
        this.refundStatus = refundStatus;
    }

    public Integer getRefundStatus() 
    {
        return refundStatus;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setCreateStaffId(Integer createStaffId) 
    {
        this.createStaffId = createStaffId;
    }

    public Integer getCreateStaffId() 
    {
        return createStaffId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("amount", getAmount())
            .append("name", getName())
            .append("registrationId", getRegistrationId())
            .append("refundStatus", getRefundStatus())
            .append("type", getType())
            .append("createStaffId", getCreateStaffId())
            .toString();
    }
}
